<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>注册页面</h1>
<form action="/register" method="post">
<h3><input type="input" name="username" placeholder="username" /></h3>
<h3><input type="password" name="password" placeholder="password" /></h3>
<h3><input type="input" name="cnName" placeholder="cnName" /></h3>
<input type="submit" value="提交" />
<h1 style="color:red;">${errorMsg }</h1>
<h1 style="color:red;">${param.errorMsg }</h1>
</form>

</body>
</html>